package com.dh.project.view;

import java.util.List;
import java.util.ArrayList;

/**
 * Created by admin on 2017/5/23.
 */
public class LableView {


    /**
     * family_type : {"brand_type":{"title":"品牌","list":[{"lable_id":1,"lable_name":"大金","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"夏普","modifytime":"1495435888888"}]},"material_type":{"title":"耗材","list":[{"lable_id":1,"lable_name":"压缩机","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"散热器","modifytime":"1495435888888"}]},"specification_type":{"title":"规格","list":[{"lable_id":1,"lable_name":"1匹","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"2匹","modifytime":"1495435888888"}]}}
     * commercial_list : {"brand_type":{"title":"品牌","list":[{"lable_id":1,"lable_name":"大金","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"夏普","modifytime":"1495435888888"}]},"material_type":{"title":"耗材","list":[{"lable_id":1,"lable_name":"压缩机","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"散热器","modifytime":"1495435888888"}]},"specification_type":{"title":"规格","list":[{"lable_id":1,"lable_name":"1匹","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"2匹","modifytime":"1495435888888"}]}}
     */

    private FamilyTypeBean familyType = new FamilyTypeBean();
    private CommercialListBean commercialList = new CommercialListBean();

    public FamilyTypeBean getFamilyType() {
        return familyType;
    }

    public void setFamilyType(FamilyTypeBean familyType) {
        this.familyType = familyType;
    }

    public CommercialListBean getCommercialList() {
        return commercialList;
    }

    public void setCommercialList(CommercialListBean commercialList) {
        this.commercialList = commercialList;
    }

    public static class FamilyTypeBean {
        /**
         * brand_type : {"title":"品牌","list":[{"lable_id":1,"lable_name":"大金","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"夏普","modifytime":"1495435888888"}]}
         * material_type : {"title":"耗材","list":[{"lable_id":1,"lable_name":"压缩机","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"散热器","modifytime":"1495435888888"}]}
         * specification_type : {"title":"规格","list":[{"lable_id":1,"lable_name":"1匹","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"2匹","modifytime":"1495435888888"}]}
         */

        private BrandTypeBean brandType = new BrandTypeBean();
        private MaterialTypeBean materialType = new MaterialTypeBean();
        private SpecificationTypeBean specificationType = new SpecificationTypeBean();

        public BrandTypeBean getBrandType() {
            return brandType;
        }

        public void setBrandType(BrandTypeBean brandType) {
            this.brandType = brandType;
        }

        public MaterialTypeBean getMaterialType() {
            return materialType;
        }

        public void setMaterialType(MaterialTypeBean materialType) {
            this.materialType = materialType;
        }

        public SpecificationTypeBean getSpecificationType() {
            return specificationType;
        }

        public void setSpecificationType(SpecificationTypeBean specificationType) {
            this.specificationType = specificationType;
        }

    }

    public static class BrandTypeBean {
        /**
         * title : 品牌
         * list : [{"lable_id":1,"lable_name":"大金","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"夏普","modifytime":"1495435888888"}]
         */

        private String title;
        private List<LableDetailView> list = new ArrayList<LableDetailView>();

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<LableDetailView> getList() {
            return list;
        }

        public void setList(List<LableDetailView> list) {
            this.list = list;
        }
    }

    public static class MaterialTypeBean {
        /**
         * title : 耗材
         * list : [{"lable_id":1,"lable_name":"压缩机","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"散热器","modifytime":"1495435888888"}]
         */

        private String title;
        private List<LableDetailView> list = new ArrayList<LableDetailView>();;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<LableDetailView> getList() {
            return list;
        }

        public void setList(List<LableDetailView> list) {
            this.list = list;
        }
    }

    public static class SpecificationTypeBean {
        /**
         * title : 规格
         * list : [{"lable_id":1,"lable_name":"1匹","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"2匹","modifytime":"1495435888888"}]
         */

        private String title;
        private List<LableDetailView> list = new ArrayList<LableDetailView>();;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<LableDetailView> getList() {
            return list;
        }

        public void setList(List<LableDetailView> list) {
            this.list = list;
        }
    }

    public static class CommercialListBean {
        /**
         * brand_type : {"title":"品牌","list":[{"lable_id":1,"lable_name":"大金","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"夏普","modifytime":"1495435888888"}]}
         * material_type : {"title":"耗材","list":[{"lable_id":1,"lable_name":"压缩机","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"散热器","modifytime":"1495435888888"}]}
         * specification_type : {"title":"规格","list":[{"lable_id":1,"lable_name":"1匹","modifytime":"1495435993677"},{"lable_id":2,"lable_name":"2匹","modifytime":"1495435888888"}]}
         */

        private BrandTypeBean brandType = new BrandTypeBean();
        private MaterialTypeBean materialType = new MaterialTypeBean();
        private SpecificationTypeBean specificationType = new SpecificationTypeBean();

        public BrandTypeBean getBrandType() {
            return brandType;
        }

        public void setBrandType(BrandTypeBean brandType) {
            this.brandType = brandType;
        }

        public MaterialTypeBean getMaterialType() {
            return materialType;
        }

        public void setMaterialType(MaterialTypeBean materialType) {
            this.materialType = materialType;
        }

        public SpecificationTypeBean getSpecificationType() {
            return specificationType;
        }

        public void setSpecificationType(SpecificationTypeBean specificationType) {
            this.specificationType = specificationType;
        }
    }
}
